Fourier–Motzkin elimination, FME method, is a mathematical algorithm for eliminating variables from a system of linear inequalities. It can look for both real and integer solutions. Its computational complexity is double-exponential.
Elimination (or ∃-elimination) of variables V from a system of relations (here, linear inequalities) consists in creating another system of the same kind, but without the variables V, such that both systems have the same solutions over the remaining variables.
If one eliminates all variables from a system of linear inequalities, then one obtains a system of constant inequalities, which can be trivially decided to be true or false, such that this system has solutions (is true) if and only if the original system has solutions. As a consequence, elimination of all variables can be used to detect whether a system of inequalities has solutions or not.
Let us consider a system of inequalities with variables to , with the variable to eliminate. The linear inequalities in the system can be grouped into three classes, depending on the sign (positive, negative or null) of the coefficient for :
The original system is thus equivalent to .
Elimination consists in producing a system equivalent to . Obviously, this formula is equivalent to .
The inequality is equivalent to inequalities , for and .
We have therefore transformed the original system into another system where is eliminated. Note that the output system has inequalities. In particular, if , then the number of output inequalities is .
The operation is named after Joseph Fourier and Theodore Motzkin.
|